Added in 1.9.4
$dock
Returns main window docked status. (Left/Right/Top/Bottom/None)