added menu, solved some bugs, and some other minor changes