Cleaned up the source a bit. Moved utility routines to a dedicated "utilities" file. Changed calls to `sprintf()` for concatenation to use `strcat()` instead as it's more standard and usually a bit faster.
Merge pull request #1 from jonathanmarvens/source-updates-001

Cleaned up the source a bit.