Mostly functioning improved CSS parser