Fixed some minor issues. Refactored shortenNumber(). Began working on VERY basic tests for RSTools.

Signed-off-by: Tom Green <kingofcuddles@gmail.com>