This could be put in a $config option if necessary.
Reason for the change is that if a lot of devices / ports are down then the home page takes a while to load and is then less responsive.
Added a LIMIT 10 into all the front page boxes
I think a config option would be better, but if you don't have time to fix that now, I'm happy to merge this now and do that later.
I'll add a config option later tonight :)
Moved the 10 limit for down boxes to config option
Config option now added. Feel free to change it in this PR if it's too long :)