Added a warning when revoking tasks and some cosmetic changes