simplify the append/emit in EmitterContext
Reorganize styles