If you are writing, and ever have doubts about grammer*, don't miss this lecture. It's even funny.
I think I may continue to spell it "grammer" just to make a point...
To me, "grammar" obviously comes from "grammatics", but then got to be used instead of the correct word, and the original forgotten. Surely a cosmic joke that this happened to the name of the field of protecting proper use of words! :-)