Get imwrite working
Disable "bounds" property, plus misc. fixes