kill the websocket on port close
disabled un supported keys, added startup script
merged with flash fallback