rudimentary png support added, scalableimage struct added