Make plugin views usable, clean up validations and various other changes