ENABLED stricter compiler settings for dev builds
FIXED compiler warnings and a bug as well