Everything fixed except load and save functionality as well as some minor features with cell calculation.