Initial functional version.

First functional version.  Only does stretched cubes and doesn't apply textures yet.