Corrected some minor bugs, spelling errors and lintian-overrides