From tabs to spaces - main try/catch

Replaced all tabs with spaces and changed a little at the
try/catch statement of the main class.
Some comments, use CTRL + F and look for // to find them