Added Restrict Tags section

Added Restrict Tags section. The restrict posts by tags now works. Also
fixed some other small bugs.