Real time calculation of number of tickets

It now does calculate in realtime the number of tickets as you change
it.

Also casts a visible warning to regenerate the XML.