bugfixes, disabled some errormessages
opt: speed up entry point generation