Cleanup bank header, fixed a few missing defines