Supports the valve entity

Also added simple SBEP door functions.