More 5.3 compatibility changes.
Merge pull request #1 from bexarcreative-daniel/patch-2

More 5.3 compatibility changes.
Merge pull request #2 from bexarcreative-daniel/patch-1

Make truly PHP 5.3 compatible.
Merge pull request #5 from bexarcreative-daniel/master

More 5.3 compatibility changes.