dirty threads-callbacks-spaghetti-gui starts here