Prepared link dialog changes
Added linkmap and mediapool support to link dialog
Put back PasteFromWord button
Some code improvments