Completely rewritten.

I almost completely rewrote IceTray, I think it's a much better system.
Still needs some debugging and a lot of work but it's definitely a
improvement.