Exception handling and some CSS tweaks.