pep8/pyflakes/cosmetic fixes
allow Frog to use a different port than 9987

XXX should be using the configuration file instead of the environment.