Added head tweaking functionality and some error checks to main. Tuned the behavior to look nice for the movies (head-hand tracking, especially).