Fixed synchronization problems

Fixed some synchronization problems
Fixed bug where query ids would be the same (time-based)
Reenabled sniffing session import form DB
No more delay when reading pcaps
Fixed some HTML bugs
General code cleanup
Changed color codes