Why is it that when you set the windowed mode, the PCs resolution changes to 640x480 as well, resulting in an unwanted experience and messing my desktop icons when reverting back
Sounds like its trying to go into full screen mode if its changing your entire resolution. Are you 100% sure you have the following set in the preferences.ini file?
bool_StartFullscreen=0