make sure seak-gen is executed from a Seak project; miscellaneous exception improvements