#143 fix a couple more bugs (save should trigger save as on new documents)