added a grid overlay to debug, '[' and ']' keys to resize