Changed GUI Toolkit to Apache Pivot and changed Window to GUI Class for compatability issues