mobile controller and other fixes