Fixed a few relative references, simplified gitignore, and actually
made the thing compile (which is always helpful).