ignore .elc files
fix elint and compile warnings
fix checkdoc errors