Finished last part of zooming code. Appears to work good.