shift_active_win() returns error code of its update_wins() call.
Added handling of windows errors in main().
Added generic default error message to exit_err().
Added further (though rarely informative) handling of windows library error.