More rendering code and timer added.