- Improved square grid detector so that it doesn't throw as many fatal exceptions