PS: Some other parts of your code is not optimal, ...
# tornadofx
e
PS: Some other parts of your code is not optimal, let me rewrite it for you so you get an idea about potential improvements.