Added acpi button handlers, log files and VM PID determination.