bar.js - fixes about panel as a window

I'm writing some panels planned to use in separated browser window.

- 1st commit... tag `<h1>` is usually redundant in windowed panel. Without this there is a Javascript error.
- 2nd commit... it is better when browser window with panel is left as is. Otherwise maximized windows are shrinked, or minimized windows are shown when master page (with Tracy bar) is refreshed.