size independent view
clear groups
moved error variable
added license