Bug 1055897 - [settings] add settings panel support

ok i just fixed this ! it is more robust now.