Tidied up Task.java

Now it no longer looks like something Gearbox Software wrote.