Fixed serious CSS bug in quad.py due to previous merge conflicts and too many branches by checking out version from the past.