fixing problems with byte-compile and flymake
use autoload for loading snippets
cleaning up byte-compiler errors