most of menu logics and some game improvements