Added equipment menu and fixed some bugs.