- added hooks to componentElement render event
- some minor tweaks
- bit of refactoring