[*] StbMainApp: Refactore debug functions

Signed-off-by: Anton Sergeev <Anton.Sergeev@elecard.ru>