Cleaned up code. Pulled out dispMenu function into Shared.java