Start counting the johnDoeId at 1

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Only delete faces when the face was last spotted near the edge of the screen

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Prevent nullpointer by only writing to file when the trainer was atleast trained once

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>