Starting to use quaternions (incorrectly), also made demo page a little web friendlier.