Fixed the option tree class, it was using the PHP 4 contstructor...
Finished Gallery coding