Added BGRAtoGray().
Added timer feature.