Working setup on linux. Added some intelligence around a couple things.
This may break colors on the mac, we'll see.