Uncommented tps and clock code, moved setScale into oneline calls.