Fixed problem with non-alphanumeric characters in Twitter tracking terms.
Added client-side heartbeat to fix timeout issues