Fixed typo in shutdown Dialog.
Renamed index.html to index.php
Added debug options.