Fixed Bug 2044. The creation of the cut plane event must be done before the
output is compiled since it causes a recompile of the model.
Fixed Bug 2043. The sizes are now handled consistently for all right side
widgets.
Changed define for Windows so that Visual Studio 10 compiles.