initialize some uninitialized variables
add support for old compilers w/o implicit stdbool