Moved the code for creating the example window in it's own library.