Level Manager and Bug Fixes of Flush