Beginnings of attachment work.
Tidied up the input manager header file; last commit before controller connect/disconnect fork.