Added compatibility with WIN32
Moved remove_datum_t() to have it declared before use
Call help() on syntax error