Reform some code.
Small fixes(cleanup, partitionlist).
Refresh partitionlist when Refresh Sizes is clicked. Update device specific files.