move "stuck" test lower in status check; fix has_preview? check (ruby treats 0 as true). #794