Some formatting.
Merge pull request #1545 from arkon94/formatting

Some formatting
Remove unused function.
Refresh graph doesn't refresh the whole page
Formatting.
Expanding/Collapsing criteria use JS instead of AJAX calls
Formatting
Formatting
Get rid of a irrelevant FIXME comment
Merge pull request #1546 from arkon94/master

Remove unused function
Merge pull request #1547 from arkon94/graphs

Refresh graphs dynamically
Merge pull request #1548 from arkon94/criteria

Optimize criteria expansion/collapsing. Fixes #916
file_selector margins
Merge conflicts