simplified isNonPHPRequest, and made visual changed to editor

Fixed a finding bug in isNonPHPRequest,
and simplified the code, so it does a lot less.

I also changed the editor, so that it is now
laid out a little nicer, in relation to the headers.