remove unneeded references
remove old 2d graphics calls as there not used in kitkat