Add invert and gridlines options. Closes #4.