Update class.imageedit.php

Few tweaks and fixes. Removed some old calls, updated load and save functions.