added tilt/zoom/focus and DAILY_RESET flag, some comments