Fixed bug with the 'Edit this post' button not working with the default permalink structure (i.e. /?p=123?edit_mode=true did not work very nice).