GrafMode added, bug fixes.