Opening gist in new window is working, but still needs attention. Debug prints still in code. Various PEP8 cleanup.