Closes #2.

Currently, if the second line is not a command or a newline, we have a problem.
Should be fixable with just a tiny amount of Python-fu, though.