Added drawing manager
checkmarkers function broken out