Formatting and small fixes

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>