xtics sub second
fix max w_id. update. clean up.