multi-threaded messaging and new gui