Fixed a bug in kld and stylistic changes

kld.load is a method not a var