bootstrap the main frame