better plugin controller logic, wired up stylesheets