Clean up views code

- remove pdb statements. woops
- Rename PreviewView to StaffMixin, make it more pure.