fixed zoom bug, and other bugs with nstimer