fixed some typos, cleaned up headers and positioning