Changed window handling a bit to handle SDL2 phantom windows; added preferences framework; changed postfix-++/-- to prefix-++/-- where appropriate; added busy work task to bqt_main.cpp for stress testing