tidies up the code styling
More logical placement for the theme check
add preview to readme