started err logging system, few minor updates to component js