Started User Interfaced, fixed some problems in the code