Added minor functions for joysticks.

And deleted more stuff *and* renamed a task *and* added/renamed "file"
scope variables.