bugs fixes
Merge branch 'abbranch' of https://github.com/normantaskudzma/paintapi into abbranch