Added main and settings window size/pos memory.

Part of #71.
Added editors and viewer window position memory.

Just realised that sizing isn't working because the windows are fitted
to their content.
Updated dependency version.
Fixed window size memory.

Closes #71.