gw_image implemented, gw_events partially rewritten to use gw_element objects