fixes and tweaks related to compiler warnings