A bit of cleanup and removed zoom from createLayer