Stole some code from this Virtual Globe book I found laying around on @bagnell's desk.

Also commented out picking in the Volume demo because its bugs are driving me completely insane.