User can now click from cell to cell and immediately switch to editing the clicked cell. Cleaned up some of the code.