The procedural code was refactored to basic oo. It requires further refactoring, but the current form is good enough to commit.
The stocks.list file was removed, it's content was moved to a textview in the settings schema. It will require further code to don't update by every keystroke.
The stylesheet.css was cleared from unused code.
Put a huge part of the code into a try-catch block, so it won't crash by most of the errors.
The procedural code was refactored to basic oo. It requires further refactoring, but the current form is good enough to commit. The stocks.list file was removed, it's content was moved to a textview in the settings schema. It will require further code to don't update by every keystroke. The stylesheet.css was cleared from unused code. Put a huge part of the code into a try-catch block, so it won't crash by most of the errors.