Code optimization and fixesI have made by your requests:Code optimization and dozens of fixes. Thanks to everybody who inform me about them!