Implemented styles. GUI refactored.