rm deprecated setClickData method calls
nit: rm trailing semicolon
nit: move var declaration closer to usage
comments: factor out Java return values
more factoring out Java return values
threads: factor out Java return values

ListItem:isChecked() in OnClick
is not factored out
thumbnail: rm obsolete pcall

was for compatibility prior to app version 3.0.8