made kind of a mess in main.lua and other places, but there's a little more menu functionality now. should do some cleanup soon, though :<