Added dispatcher for plugins
Added rewrite rules for GUI plugins
Small fixes