Little fixes...

A few little fixes to bugs I came across.

Trying to learn git as well. I've always used it like SVN. Now I find it difficult to adapt. So pardon my mistakes in my attempts at contributing.