added .showOnlyInView, bugfixes and cleanups