updated load() to error on non-existant module

 - also general code cleanup
Merge pull request #4132 from cedwards/kmod

updated load() to error on non-existant module