made several optimizations and got the tooltip bindings to work