More concise handling of access error
Implements Markdown preview