start collecting GUI stuff in a central location
fix checkbox name for a generic one
place generated python UI's inside lib/ with a 'ui_' prefix
add todo
use new generic UI includes
use "log" module
move CSV writing to functions, add fallback for old numpy
clean outfiles before testing

to make sure we don't miss the case when the tool doesn't
touch the outfile at all, e.g. because it fails before...