do a better job w/signals on both Win and Linux

try harder to catch signals for autosave purposes;
also: minor bug fixes, minor refactoring, minor doc fixes