I want to note explicitly, that you should use
FBTrace instead of alert()s. With it you get more info and it's less annoying. ;-)
Also the
API changes of 1.8 may be important for you. And there is even an example for a
restartless extension.
Besides all this the
Firebug wiki can give you some more information.
Sebastian