[#47] Fixed BrainTerminal reimplementation