some contetion fixes
simplify showfps statistics, lag is total_lag(vsync_lag)