Some more work on the detection of already installed forums and deletion of the install dir

Signed-off-by: emanuele <emanuele45@gmail.com>
Try to restore statistics on queries during install

Signed-off-by: emanuele <emanuele45@gmail.com>