Added TreePanel and loginPanel bugfix for firefox