Exe integration

* Integrates command-line and gui applications into one. 
* Implements a LoggingSettings dialog