Add headless option
Make patch work on my system
Added documentation of the headless feature
Credit Leore

Closes #130