Testing connection timeout code.
Rearranging template files.
Put in setInterval for prediction time.
Minor timer fix.