Fix: Name of root is now empty string
Fix compile error concerning nsCOMPtr inclusion
Fix compile error concerning thread detection
Format code: switch case style
Format code
Return "Not implemented" error on other two storage type
Change #pragma once into macro definition