python2 fix, ctrl+c now exits app, useless javascript console message removed