index.php: use demo.php
before.php: set timezone
split functions and variables into files
status.php: fix pure grid
index.php: use distro.php