Basic grid state save/load functionality implemented.