Implement stubbed-out modifier functions, fixed #1, fixed #2, fixed #3.
Escape variables used in building SQL queries and use Codeigniter built-in functions where possible.