Fixed zoom extent and misc other functions.