Backport to PHP 5.2
Merge branch 'master' of github.com:ymauray/AMPPress
Fixing uninitialized variables and other minor things