check in some windoze compat crap (still does not compile through for windoze)
add errmsg_info and msg