call dfhack.init even in TEXT mode