Rewrited to object system - gallery
Fixed some bugs, make code more readable - gallery module
Fixed saving method - simpleimage module
Changed variable names, related to rewriting to object ajaxpage - gallery templates