Cleaned up graphics system and windowing system bridges to make use of common
includes reducing duplicate code.