fucking nio2 not being a thing in java 6
tweaks from running on a macbook pro and from bear's feedback