fix completion right after function brackets
port to websockets, yay
fix identifiers occurring multiple times
rework subprocess and websocket manager handling