Fix compiler warning about execvpe
Refactor to suppot cursor fix
Apply cursor theme to root window