Various changes:

1. I changed how the Tupfiles work making them a tad more flexible for future use.
2. I added a basic asyncronous implementation of the client API... although it does nothing.
3. Various tweaks here and there. I'll start again tomorrrow.