simplified banner processing, which may prevent some oom errors. 
removed unused code.