Added html footer, corrected var name in walkQueue()