Remove delayloop, replace with nano / microsleeps