Minor style change. Press D for debug mode added