Make DSLogic-gui more portable.

Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>