Updated timecontrol code, removed buffer dump and improved efficiency.