Jooel is right. You create the console by trying to hide it. Better to simply not create the console at all. Then you will not have to hide it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.