Removed unused draw logic
removed wrong unit in settings