Tweaking to make galilInterface work better as a module.