Fix condition types and add help link in popup. Fix #39.