Fixed init not being called before path check

Path check was occuring before init when init was called, causing the program
to give the "path not found" error, even when init was run. Moved init argument
check out of normal argument parsing loop to before the path check so path
check will occur AFTER the init.

Also added return 1 if note path doesn't exist so the program exits on the
error instead of continuing.