removed unused functionality from Frame, GlobalVar, driver...changed some globals to const