fix default per-file settings to not be reset on config reload
process ex/vi/vim settings from first or last five lines
fixed left/right delete/backspace to move to tabstops instead of by a fixed space count
separate file from global settings
make I/O independent of platform