Fixed Bugs 1-5

Race conditions, block variable capture, ModelsEntity descriptions,
prevent duplicate data, ModelsEntity array sorting