Bugfixes and formatting

index.php:
 -give groupmode a bit structure
 -ratio wasn't displayed on the inital-load
  -->ratio-value wasn't stored in $v