Refactoring, added functionality (clear actors on layer), clean code
Fix mouse handling and dispatching