made core flixel improvements