Made all ini err variables exported.
Fixed clearing of updates - the file which updates are saved in is now cleared on clear.