Removed test code from 'SurfaceController'. Added comments to IApplicationEventHandler.
Removed all reflection calls to BindingFlags.NonPublic which was mostly used by DynamicNode, this will not work in medium trust.