fixed bmp-writing under windows (this fixes the weird color bug),
fixed msvc-compiler-error
moved the saveing of the rendered image from the camera to the Main-method