Made stop/forcestop available only while running. Previous task files are not deleted anymore

Stop/Force stop buttons in the menu are only available while the project is running.
The output files are not deleted anymore while the project is running.
Some small coding style fixes