working
removed unused functions
added new buttons, threads start when form displays