Experimented with build states

Release crashes, but only if DEBUG is undefined