Rapid hacking session fixes

This branch contains a bunch of rapid fixes for the issues that came up during the Chebfun2 hacking session. 

Closes #1066.