First fixes according to remarks form tutor.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>