Added opening msg, fixed bounding issue, removed dead code