Fixed text entry & adjusted E2 upload speed

The text entry was triggering its outputs in the wrong order.

Made E2 start uploading code quicker (0.1 seconds after clicking instead
of 1 second). Also made the E2 upload code only check if the target
entity is valid if more than two seconds has passed since clicking. This
means we can start sending the code before the client knows for sure
whether the entity exists or not. But after two seconds, if the entity
still does not exist and the code has not yet been sent, we cancel
sending.