Window Adjustments, and DB adjusting

made it so that the program adjusts the size of the windows based on the
host device, further working to adjust the DB, to open an existing DB,
from the root folder of execution, instead of a specific folder.