fix style, dangling imports
change wonky getpass thing to os.path.expanduser
cleaning up