Now works with PHP v5.3
Bunch of fixes and much more readable code
A complete overhaul