Fix typos and other code standards

Signed-off-by: Daniel Francis <francis@sugarlabs.org>