Adding refresh/resize methods, centerX, centerY properties