Changed maximum grid size to 248
Created a load window and added multithreading for  loading