Fixed 2 bugs: file loading and grid access

Seems to be working alright. Tested with "Block" and "Blinker"