layout loading code now ignores forms that aren't registered.