use getopt_long to parse arguments. some tidy up
better message/help and some tidy up
drag_threshold customizable; better help
use config.h; increase version number