Patch by Dan Lykowski <lykowdk@gmail.com>, closes #181. Minor fixups for kdrive by me.
'default n' is the default, so there's no need to say it explicitly.
Based on googlecode r558 by John Voltz.