ContextMenu

Fixes #188.
if the menu goes beyond right edge, flip it so that the cursor will be at its top-right edge instead of top-left. If it still doesn't fit (goes beyond left edge [possible with huge menus, i'm guessing?]), just give it an X of 0. Same goes for Y.