Frame end

Fixes #194