Cleaned up transplanted code, changed screen_width and screen_height settings to windowWidth and windowHeight, added base BbrGameState to reduce duplicate code, replaced hardcoded image paths with references to Art.getImage().