Finished a first approach to hide files. Also fixed lots of bugs, specially
process hide related and a few more.