Implements dynamic style system, some tests failing.