tidy up and explain PATH setup, fix starting X