Make detectWTF a getter

Make wtfEnabled a getter as setting it to true without a call to detectWTF puts the library into a unstable state.

Also removed an unused variable.
Funny I used the renaming feature of the editor and didn't noticed it.