add BoatControllerProtocol
Layout should return contentRect
Fixed xx.top doesn't work
Fix nil controller cause crash
add layoutExtraParams
drawer: add genRemoteImage