Fixed markdown categorys being duplicated.
Added ability where if no post is supplied to localhost, the latest post
is selected.