Changed a lot of things, don't really remember it all. Added graphic
support.