Updated kotlinc to a M6+ build (we can now use SAM conversions). Also auto-reformatted all Kotlin files.