Adopting superficial changes from RTruffleSOM

Signed-off-by: Stefan Marr <git@stefan-marr.de>