Removed evil sleep function that shouldn't have been there.