Only close window (instead of quitting) when closing last tab.

This also renames the 'quit' value for tabs->last-close to 'close' to avoid
confusion.

Fixes #154.