Integrated new graphics. Some bugfixes and improvements.