Some spur of the moment code cleanup, constantly learning more about python.