added quit confirmation, interactive improvements including toggling of interactive shelf report, file checking to write csv header