UI Class Fixes

Small syntax errors and lack of libraries