follow compat pattern for Crossfade overlay logic
small lint fixes

and specify project version in one place