maybe i will rewrite the basics of it, to better judge how much effort it would be to rewrite the whole thing. and actually a refactor of the existing code would probably make it much nicer to work with, and would be very satisfying to complete.