maxzoom fix, misc fixes