Scala Pattern Matching, Interoperability, and Concurrency