Cleaned up code, added comments and made filtering of events work correctly.
Cleaned up code, added comments and made filtering of events work correctly.

 * Used the value of a hidden input for the initially-selected monitor
 * Used that value for inital (before any additional filtering) pagination

omonar/modern,OverByThere/modern,OverByThere/modern,omonar/modern,OverByThere/modern,omonar/modern