Removed old dot moving code; Fixed line drawing