fifth commit

+ one more example program
+ spaces before commands work (making nested commands look better)
+ drain() loop works properly now.
+ code seperation (or clean-up if you will)
+ bugs fixing

Probably missed something.. As always.