Fix ContextMenu popup for multiple monitors

Change the position flags for contextmenu.  On Windows 7 with dual
monitors the context menu was coming up on the other display in some
scenarios.  This is a workaround for that problem.  Also update the
framework version to 4.0 and increment the assembly version.