Finished paint tool

Finished implementing squish and added bitmap internalisation.