removed defunct logging call during unenrol
fixed form image issues
tweaks to regain support for Moodle 2.6