Better menu implemented, code restructured, various aesthetic tweaks