add new header, wcwidth.h / create app_init/app_die functions