Switched to ace editor, finally got brython working