Added default constructor and edited some methods.

Added comments, added method initVisualWindow, altered some faulty
methods,