Fixes for File | Save as crash, also less exceptions with multiple windows.

Change-Id: I8b39aba88a6f45c0b60f576110ae736aa5931fb2
Signed-off-by: stormrose <eturnerx@gmail.com>