Other fixes to Brain...still have not tested movement functions