Changed a method name in Areaselection.
Added a UnitTest for Areaselection.
added padding to the debugconsole printout
bugfixes and refactoring, also
ImageTest added