Rewrite the StageProfi plugin to handle disconnects, closes #169

Fix the spacing, and the line below.