Namespace consistencies as well as RevealModalWindow fixes from Sebastijan.