Misc fixes, and implementing ticket editing
Misc tuning