Applied new app system to timer.py
plot_line demo now works again (also with pyglet!).