Initial commit of UI class and its test harness.
So far, it has:
 - Code for running the GUI main loop in a separate thread
 - Code for passing messages from the main thread to the GUI thread (but not
   the other direction yet!)
 - A prototype of the "library" screen.