More GUI functionality and application logic added.