add a first shot at software cursor for linux fbdev
Improve robustness of startup/teardown