Flush existing output before the start method.
Made default properties into class variables.
Setting status should not send headers.