Working With Infrastructure

Updated infrastructure so that when an app is opened with a ribbon
button the ribbon's event is picked up by the main menu in order to set
a variable that the main menu uses to inform the open app when the menu
file open item is clicked.  The open app can then use the menus event to
show an open file dialog.

I currently have this working for the CNCViewer only.  In order to make
this work I had to put the RTB in the statics class; this is because the
thread was unable to manipulate the RTB.  I also updated several calls
to the vCanvas so that they reference the static version; same issue.