Added debug drawing toggle with 'd' key.