Each time I hit the spacebar, it puts a dot mid line, and when I hit tab key I get an arrow which points to the right of the line.
How do I get rid of those marks?
You have the hidden characters visible. It is either under Options or Preferences where you can change the See Hidden Characters.