Use ENUM for voxel types where applicable
correct some throwing things