Updated to fix various issues with newer PHP/Zen Cart.