It does seem like if the inmates had something productive to do, their overall state of mind would be greatly improved.  Having people sit around day after day with nothing to do could easily increase the stress and anger of the whole system.