Several additional fixes

I've added several fixes and two location of errors that need
rethingking. Also added a import reflection and reflection filter to
example1 to let all the compilation errors show, so it is easier to
track them down.
Awesome work done in the new functionality!
Merge pull request #11 from ziggybcn/master

More fixes and some a couple of 'notes (just two) of errors that I've located that require attention by someone that knows better than me this module internals.