Fixed some syntax issues in the main rendering loop, and removed variables not in use. Addressed a few JSLint issues and bumped version to account for syntax updates.