fixed for latest Paint.JAVA
removed debug statement and update build
clean up image importer/exporter
added horizontal flip
disable square selection and add linear greyscale