Adding items to a mutableList from inside a pForEach leads to unpredictable results. Use pmap instead.
fun main() = application {