Improved slope and platform detection and handling.