some improvements

* no execution if needed parameters are not specified (e.g. W_ID)
* TODOs on critical parts
* fixes segfault on call of predicates
* still bad errors :/
* removes anoying output
who needs projection in stored procedures?