Convert MainWindow widget to use widget template (there is still a gtk_container_add assertion somewhere...)