Add an ungly preferences window
Fix schemas and CMakeLists