Did some source code cleanup

Signed-off-by: Daniel Pierce <paladin2350@gmail.com>