Fix build on Fedora
Fix NetworkWidget problem finding interface

In some cases NetworkWidget would fail to find an interface because
the entry in the /proc/net/dev file runs together with the
previous line.  This fixes the problem by removing newlines before
parsing.
Force top output to integer values

Depending on a compile-time setting in top, it may output floating
point values for CPU and memory usage.  This change forces those
values to be integers in the example file because otherwise the
long values push the process name mostly off-screen.