better graphs

- bigger graph window, to show more data
- graph functions on a separate file