Hoist speed controller and braking