wesnoth-lib: a bit work... and some tweaks.