Refactor style prefs GUI, cleans up some leaks and useless allocs