Includes fixes and some modernizations compared to the original 4J library binaries. Also introduces functionality to support stuff like F2 screenshots, etc. This is basically the beginning of modernizing the codebase.