compileHandler() now removes whitespace lines from handler definitions before attemping to compile.