Improve classes and docs.
Improve docs.
Merge pull request #8 from Gizra/7

Fix visibility functions on the borders of the custom grid.