new filter to hide empty hooks
refactors implementation of hook block
added helper functions : translate, dump, addCSS