enabled enforcement of storage definition
- updated storage definition scanning code to allow checking for errors
- added errors for cases where variable storage is redefined in the middle