Fix auto restart bug in Windows

Caused program to restart itself after closing
Added build 1.4.3.0

- Fixed autorestartbug in Windows
- Fixed AttachConsole exception in mono
- Improved detection if console mode or ui mode
Fixes #7