[nim] Cleaned up a little bit with suggestions from pycharm3
[nim] Cleaning up some more