This diff is a replacement for the one that I submitted
The build is fixed this time (really).
1. Moved FrameStore.cpp and FrameManger.cpp from gui to
2. Added many casts and other fixes for warning messages.
3. Suppressed warning messages 4251, 4312, and 4355 in
some or all of the projects.