Query bugs in Mozilla Localization + whiteboard "web dashboard", clean up PHP warnings