Fix opt compile error
Fix prisoners tasks assignment; Speed up RandomLocations by precomputing a predicate look up table
Fix beast sleeping