The traditional problem embedding is that the VM did a lot of window configuration before the image started. This has all been stripped out of the "minheadless" builds, which have defined a "virtual machine interface"
used like...
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/p...