Refactoring 4th and cleaning repository from EXEs

Now TRUE threads - not WINAPI!
Error handling and comments