fixed some memory issues. needs more work on CellForRowAtIndexPath