Crash prevention.
Make the compiler happy.
Adopt ownCloud colors and icons.