Cleanup. Early UI setup.