Increased the panel length
Put relative references for the htmls.
Added correct preferences.