re-organise demo content
re-organised node_webkit content
bug fix

close editor after publish or discard