graphics update and some minor stuff