Minor fixes and improvements

- Tried to optimize the find end point method
- Added a bit more feedback for debugging purposes
- Use invoke with a delay to spawn in the beginning (optimization)