Rename variables to detect click in MainMenu

Clicks are detected by comparing whether there was a change in pressing the
mouse button. Since the type of variables is boolean, "is" and "was" is used
to distinguish the current and previous values.
Use public variables to set the width and height of main menu

Public variables are used instead of "magic numbers."