Let's get started with some tests
Better comments and more GTK cleanup
Fix layout mapping and add a simple test