Some tweaks for source editor component