Change indentation to F2 style

Also threw sleeps into the waituntil statements to help fps