removed dead code

Change-Id: If7073d55a84a2241fc5149d04b58707a8d95a517
added debug window

Change-Id: Id331768a5414c10a84e0290dc421e54bee619d97