some small changes and improvements

Signed-off-by: Alexander Skjolden <alex@plastboks.net>