Split into library and executable.
Updated to LibOVR 0.2.4.
Added error logging.