Moderate Edit: Bugs fixed, prototyping menu functions.