added smart border patch
make smart borders patch configurable
adapt readme
Merge branch 'feature-smart-border' into gaps
fixes #6