LOP grid form #4959

Now that we know which files have a grid display, we can programatically determine teh form #state for displaying layout.