Received socket events now wait until everything has been loaded before executing anything.