serialconnect: Fix gcc4 build

* SerialWindow.h mentions BFilePanel and needs the
  include statement
* Patch submitted by Urias McCullough
screen_blanker: Check if be_app is NULL

... before using it after dynamic_cast. Fixes CID 1130496