Changed the format of logger output.
main now inits the gui, the audio and the events.
Improved initialization of the audio.