Fixed the pass by reference to avoid a notice. Moved the stylesheet path generation out of the include for better code organization. Moved the title generation into the view output block of the router.
Made the error message private and removed the constant from the view in favor of a variable.
Changed the order of the methods to better fit the flow of the chapter. Added a call to sanitize() for previously unsanitized input.
Removed the get_room_data() method because it wasn't necessary. Reordered the methods to better fit the flow of the chapter. Added a call to sanitize() for all form input.
Added comments and better error messages. Moved the sanitize() method to the controller because it's logic, not data.
Added an error check to the view.
Changed the order of methods to better fit the chapter flow. Removed all data sanitization in favor of performing sanitization in the controller instead. Deleted the get_vote_count() and get_question() methods because they were unused.
Removed all data sanitization in favor of performing sanitization in the controller instead.