CSS fixes and JS switches
Implement large event queries handling.