Fixed available and removed non-working SerialEvent code