fixed typo in comment
removed illegal "from x import *" inside a function
added two more colors to imageshape
made ctrl-c handler more informative
fixed assertion in sp2 example