code cleanup in normalmapgenerator.cpp, new prewitt operator, small new features like autoupdate