Extra spacings removed
Command registration fix.
Merge pull request #1 from torkve/master

Fix preview commands registration