Small bugfixes to SlideDrive.c