Updated to Scala 2.11

- Changed Scala SynchronizedQueue to Java ConcurrentLinkedQueue, as the
former is deprecated (because probably bugged).
- Corrected some new warnings due to Scalac 2.11.