Fix: show as many layers as there are temporal grid nodes

Previously program erroneously showed only as many layers as there
are spatial grid nodes.
Shrink input boxes
Fit inputs into grid, shrink their height.