corrected styling on overlapping processing, added second error handling level to localstorage
removed unnecessary if