Modulize events for PlaceBox, minor fixs and optimizations