turn on -Werror and fix resulting errors

-Wno-frame-larger-than doesn't seem to override -Wframe-larger-than=1024, but setting a larger frame size warning per module works.