Exit after header sent to stop furterello php code execution

Update also first letter of location header to uppercase
Merge pull request #54 from acidvertigo/patch-1

Exit after header sent to stop furterello php code execution