Fixed bug with tk xlim setting when read only, figured out on.exit