fix infinite loop in html compiler; code cleanup; implement units (eg 15px) as token type.