Account for slash in module pathname length math
fixes #46
Remove some debug code from debugmode stuff
fixes #47