added drawing without flicker and modified import to use system components