Imported some core functionality from the Glance Engine. No sense in rewritting classes like HML and String.