remove duplicate call to initDebug()
minor cleanup to layout