Modified UI,Main, and IM.hs