A complete cleanup (for readability and ease of coding) and doccumentation of the original SMAUG 1.4a codebase, SLAM-GTP is also a minor re-write, bringing new features to the codebase, while also fixing and/or adding functionality to existing ones.