fixed some bugs with multiple editing and scroll, cursor jerky movement, remove hardcoded port