added wait dialog
finished main menu