This is a copy of Orteil's cookie clicker, and then some.