Fix pviews 2
Fix thread expanding. Fixes #456