break the main function to smaller more readable chunks
fix warnings
UI callbacks split as much as possible removed goto
added skeleton for audio processing