v0.5 pre-release. added tint option. fixed leaks and stuff