Prettified printing & some tweaking & some bugfixing.