Fixed mode check in graphics. Removed .gba from gitignore.