Refactor exception handling in shows controller, fix other minor bugs