Cleaned up console messages and unnecessary save to localStorage.