improved logging system and prints to GUI console