Memory leaks cleaned.

 - Block instances Application has created were freed.
 - Light instances Application has created were freed.