window: move to builder's ui file

This is way better than programmatically building the entire window interface.