Fixed bugs, new detail window added