cuda dll, level management added, level gets saved when the app is closed