MainWindow, BoundaryLines

1) collision detection accomplished.
2) lines and backgrounds transparent.
3) more description in the comments